package com.train.system.req.trainstation;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TrainStationReq {

    @NotBlank(message = "车次编号不能为空")
    private String trainCode;

    @NotNull(message = "站序不能为空")
    private Integer index;
}
